package com.kaikeba.dao;

import com.kaikeba.bean.Expressman;

import java.util.List;
import java.util.Map;

public interface BaseExpressmanDao {
    Map<String, Integer> console();
    boolean insert(Expressman man);
    boolean delete(String id);
    boolean deleteByPhone(String phone);
    boolean updateByPhone(String phone, Expressman man);
    List<Expressman> findAll(int limit, int offset, int pageNumber);
    Expressman findByPhone(String phone);
}
